home *** CD-ROM | disk | FTP | other *** search
/ Mission to McDonaldLand / Mission To McDonaldLand.iso / code.cst / 00001_Script_1 next >
Text File  |  1998-10-29  |  2KB  |  47 lines

  1. on prepareMovie
  2.   global shippiece
  3.   global objects
  4.   global nomore
  5.   global world
  6.   global restoration
  7.   global castrestore
  8.   set restoration = 0
  9.   set castrestore = 0
  10.   set nomore = 0
  11.   if shippiece = 1 or shippiece = 4 or shippiece = 5 or shippiece = 7 then set the member of sprite 53 = "ssp1"
  12.   if shippiece = 3 or shippiece = 5 or shippiece = 6 or shippiece = 7 then set the member of sprite 55 = "ssp3"
  13.   if shippiece = 2 or shippiece = 4 or shippiece = 6 or shippiece = 7 then set the member of sprite 54 = "ssp2"
  14.   set theship = 1
  15.   
  16.   if world = 1 and (shippiece = 1 or shippiece = 4 or shippiece = 5 or shippiece = 7) then set the member of sprite 14 = "blank"
  17.   if world = 2 and (shippiece = 3 or shippiece = 5 or shippiece = 6 or shippiece = 7) then set the member of sprite 14 = "blank"
  18.   if world = 3 and (shippiece = 2 or shippiece = 4 or shippiece = 6 or shippiece = 7) then set the member of sprite 14 = "blank"
  19.   
  20.   if objects = 1 then 
  21.     set the member of sprite 56 = "COB1"
  22.     set the member of sprite 11 = "blank"
  23.   end if
  24.   
  25.   if objects = 2 then
  26.     set the member of sprite 56 = "COB2"
  27.     set the member of sprite 11 = "blank"
  28.     set the member of sprite 12 = "blank"
  29.   end if
  30.   
  31.   if objects = 3 then
  32.     set the member of sprite 56 = "COB3"
  33.     set the member of sprite 11 = "blank"
  34.     set the member of sprite 12 = "blank"
  35.     set the member of sprite 13 = "blank"
  36.   end if
  37.   
  38.   if objects = 4 then
  39.     set the member of sprite 56 = "blank"
  40.     set the member of sprite 11 = "blank"
  41.     set the member of sprite 12 = "blank"
  42.     set the member of sprite 13 = "blank"
  43.     set the member of sprite 10 = "new"
  44.   end if
  45.   
  46. end
  47.